#!/usr/bin/env python
# -*- coding: utf-8; -*-

from django.shortcuts import render


# project_id 为位置参数，若定义试图函数中没有该位置参数对应的形参，会报错
def dashboard(request, project_id):
    print("project_id: {}".format(project_id))

    return render(request, 'web/dashboard.html')


def statistics(request, project_id):
    return render(request, 'web/statistics.html')
